using System.Collections.Generic;

namespace Intyme.Common.DataModel {
    public class WorkListMachines {
        // array of pair MachineID , index <0... number of Machine in DataModel.Machines.Machines>
        public Dictionary<int, int> ListMashines { get; private set; }
        public Dictionary<int, PartialOperationOnSchedule> ListOperationOnSchedule { get; private set; }

        public WorkListMachines() {
            ListMashines = new Dictionary<int, int>();
            ListOperationOnSchedule = new Dictionary<int, PartialOperationOnSchedule>();
        }

        public class OperationPeriod {
            public int StartTime { get; set; }
            public int EndTime { get; set; }

            public OperationPeriod() {
                StartTime = -1;
                EndTime = -1;
            }
        }
    }
}